package org.jeecg.modules.car.mapper;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.entity.car.CarDerateDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.entity.car.CarMerchantDerate;
import org.jeecg.model.car.reqvo.CarDayReportReqVo;
import org.jeecg.model.car.respvo.CarDayReportRespVo;

/**
 * @Description: 优惠卷明细
 * @Author: jeecg-boot
 * @Date:   2020-11-08
 * @Version: V1.0
 */
public interface CarDerateDetailsMapper extends BaseMapper<CarDerateDetails> {

    CarDerateDetails getDerateDetail(@Param("plateNumber") String plateNumber);

    List<CarDerateDetails> findDetailPage(Page<CarDerateDetails> page,@Param("carDerateDetails") CarDerateDetails carDerateDetails);

    List<CarDayReportRespVo> findGroupList(@Param("reportReq") CarDayReportReqVo carDayReportReqVo);
}
